﻿<?php
$request=Zend_Controller_Front::getInstance()->getRequest();
$auth = Zend_Auth::getInstance();



$this->headMeta()->appendName('keywords', 'sgit,telvent,datacenters,circuitos,mmr');
$this->headMeta()->appendName('author', 'Juan Manuel Martínez Carrillo');
$this->headMeta()->appendName('description', 'Sistema de Gestión de Infraestructuras Tecnológicas');
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=utf-8');
$this->headMeta()->appendHttpEquiv('Content-Language', 'es-ES');
$this->headLink()->headLink(array('rel' => 'favicon', 'href' => '/favicon.ico'));



$this->headLink()->appendStylesheet($this->baseUrl('/DataTables-1.8.2/media/css/demo_table_jui.css'));
//$this->headLink()->appendStylesheet($this->baseUrl('/DataTables-1.8.2/extras/ColVis/media/css/ColVis.css'));


/*


$this->headLink()->appendStylesheet($this->baseUrl('css/reset.css'));
$this->headLink()->appendStylesheet($this->baseUrl('css/typography.css'));
$this->headLink()->appendStylesheet($this->baseUrl('css/forms.css'));

$this->headLink()->appendStylesheet($this->baseUrl('css/ui.daterangepicker.css'));
*/

$this->headLink()->appendStylesheet($this->baseUrl('css/viriathus.css'));
$this->headLink()->appendStylesheet($this->baseUrl('css/custom-theme/jquery-ui-1.8.16.custom.css'));

//$this->headLink()->appendStylesheet($this->baseUrl('css/layout_print.css'),'print');


$this->headScript()->appendFile($this->baseUrl('js/jquery-1.4.2.min.js'),'text/javascript');
$this->headScript()->appendFile($this->baseUrl('js/jquery-ui-1.8.4.custom.min.js'),'text/javascript');
$this->headScript()->appendFile($this->baseUrl('js/viriathus.js'),'text/javascript');
$this->headScript()->appendFile($this->baseUrl('js/jquery.multiselect.min.js'),'text/javascript');
$this->headScript()->appendFile($this->baseUrl('js/daterangepicker.jQuery.js'),'text/javascript');
$this->headScript()->appendFile($this->baseUrl('js/jquery.MultiFile.pack.js'),'text/javascript');

$this->headScript()->appendFile($this->baseUrl('/DataTables-1.8.2/media/js/jquery.dataTables.min.js'),'text/javascript');
$this->headScript()->appendFile($this->baseUrl('/DataTables-1.8.2/media/js/plugins_sorter.js'),'text/javascript');


//$this->headScript()->appendFile($this->baseUrl('/DataTables-1.8.2/extras/ColVis/ColVis/media/js/ColVis.js'),'text/javascript');
//$this->headScript()->appendFile($this->baseUrl('/DataTables-1.8.2/extras/FixedColumns/media/js/FixedColumns.js'),'text/javascript');
//$this->headScript()->appendFile($this->baseUrl('/DataTables-1.8.2/extras/Scroller/media/js/Scroller.js'),'text/javascript');


//$this->headScript()->appendFile($this->baseUrl('js/jquery.tablesorter.min.js'),'text/javascript');
//$this->headScript()->appendFile($this->baseUrl('js/jquery.tablesorter.widgets.js'),'text/javascript');


?>
<html>
<head>
<!--wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
// Autor Juan Manuel Martínez Carrillo
// juamarca@gmail.com
// 2008-2011
// SGIT
// Sistema de Gestión de Infraestructuras Tecnológicas 
// Telvent Global Services
//wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww--> 

<?php
echo $this->headMeta().PHP_EOL;
echo $this->headTitle().PHP_EOL;
echo $this->headLink().PHP_EOL;
echo $this->headScript().PHP_EOL;
echo $this->headStyle().PHP_EOL;
?>




<script type="text/javascript">

$(document).ready(function(){ 
	<?php echo $this->placeholder('onReady'); ?> 
	
})
</script>



</head>
<body>





<div id="wrapper" class="bg_degradado"> 
    <div id="header">
                <div id="usuario_div" style="text-align: right">
                    <p class="right">
                        <span id="usuario">
                            <?php echo $this->escape($auth->getIdentity()->nombre)?>
                        </span>
                    </p>
                </div>
    </div>
            
    <div id="contenidos"> 
        <div  id="breadcrumbs" class="ui-state-default">
              <h2><?php echo $this->navigation()->breadcrumbs()->render(); ?></h2> 
        </div>
        
        <div class="contents">
        <br />
        <?php if($this->filtros) echo $this->filtros;?>
        <br />
        
        <?php  echo $this->layout()->content;?>
        </div>
    
    </div>

</div>






<!--Ventanas modales estan hidden por defecto-->

<div  id="caja_mis_asuntos" style="display:none;position:fixed;bottom:26px;width: 400px;max-height:400px;overflow:auto;" class="ui-state-highlight ui-corner-top">
  
  <div class="ui-widget-header ui-corner-all">Tareas Pendientes</div>
  <div id="asunt"></div>
  <a class="button_ira" href="/index.php?modulo=Task" style="float: right;">Gestionar Tareas</a>
</div>

<div id="dialog" title="Cargando..."></div>		
        
<div id="dialog-confirm" title="¿Seguro que desea Borrar?">
    <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>Este item sera borrado permanentemente y no se podra recuperar. ¿Estas seguro?</p>
</div>
        
<div id="alertas" title="Atención">
    <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span><span id="msg12345"></span></p>
</div>
<!--Fin ventanas modales-->



</body>     
</html>     
  
  
  